package com.lt73.druidmonitordemo.service;

import com.lt73.druidmonitordemo.entity.Persion;
import com.lt73.druidmonitordemo.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: hanxiao
 * @Date: 2022/3/19 12:07
 */

@Service
public class UserService {

    @Autowired
    UserMapper userMapper;
    public Persion selectUser(int id) {
        return userMapper.selectUser(id);
    }

}